widget: Remove outdated comment on get_allocation
authorTimm Bäder <mail@baedert.org>
Wed, 18 Oct 2017 08:39:44 +0000 (10:39 +0200)
committerTimm Bäder <mail@baedert.org>
Fri, 20 Oct 2017 12:55:53 +0000 (14:55 +0200)
The allocation passed to gtk_widget_size_allocate can be retrieved these
days, using gtk_widget_get_allocated_size.

gtk/gtkwidget.c

index 5a63174f7adfcd961ce4b8c09e61f38ec1444c0e..3637712a1f3ba6b6a4a3981147b9447851c52121 100644 (file)
@@ -13167,9 +13167,6 @@ gtk_widget_get_allocated_size (GtkWidget     *widget,
  * gtk_widget_size_allocate() allocation, however. So a #GtkContainer
  * is guaranteed that its children stay inside the assigned bounds,
  * but not that they have exactly the bounds the container assigned.
- * There is no way to get the original allocation assigned by
- * gtk_widget_size_allocate(), since it isn’t stored; if a container
- * implementation needs that information it will have to track it itself.
  *
  * Since: 2.18
  */